package com.ant.http.Bean

import com.ant.http.HttpConfig
import com.google.gson.annotations.SerializedName

/**
 * copyright：
 * @author：anthui creation date： .
 * @since: 1.0.0
 * @describe:数据返回类
 */

data class HttpResult<T>(
    //错误码
    @SerializedName(HttpConfig.serialized_code)
    val code: Int,
    //错误信息
    @SerializedName(HttpConfig.serialized_message)
    val message: String? = "",
    @SerializedName(HttpConfig.serialized_data)
    val data: T? = null


)
